package com.example.myapplication2020315;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import androidx.appcompat.app.AppCompatActivity;

public class uc1 extends AppCompatActivity {

    private Button backbutton0,button1,button2,button3;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_uc1);
        backbutton0=findViewById(R.id.backbutton0);
        button1=findViewById(R.id.button6);
        button2=findViewById(R.id.button7);
        button3=findViewById(R.id.button8);
        button1.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(uc1.this,uc11.class);
                startActivity(intent);
            }
        });
        button2.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(uc1.this,uc12.class);
                startActivity(intent);
            }
        });
        button3.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(uc1.this,uc13.class);
                startActivity(intent);
            }
        });
        backbutton0.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(uc1.this,MainActivity.class);
                startActivity(intent);
            }
        });
    }
}
